home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / RTANKSRC.ZIP / CALLASM.H < prev    next >
Text File  |  1989-02-09  |  1KB  |  51 lines

  1.  
  2. #define MINPX     0
  3. #define MINPY     0
  4. #define MAXPX     119
  5. #define MAXPY     74
  6. #define WINDX     40
  7. #define WINDY     20
  8. #define MAXLX     MAXPX-WINDX+1
  9. #define MAXLY     MAXPY-WINDY+1
  10. #define HALFWINDX WINDX/2
  11. #define HALFWINDY WINDY/2
  12.  
  13. BOOL check_right(p_TANK t);
  14. BOOL check_left(p_TANK t);
  15. BOOL check_below(p_TANK t);
  16. BOOL clear(int x, int y);
  17. BOOL check_above(p_TANK t);
  18. void check_tank_position(p_TANK t);
  19. void set_move_range(p_TANK t);
  20. void move_right(p_TANK t);
  21. void move_left(p_TANK t);
  22. void move_down(p_TANK t);
  23. void move_up(p_TANK t);
  24. void move_tank(p_TANK t);
  25. void restore_under_tank(p_TANK t);
  26. void display_tank(p_TANK t);
  27. void init_view(p_TANKTILE t, int ta, int tb, int tc, int td);
  28. void monitor_tank(p_TANK t);
  29. void save_under_tank(p_TANK t);
  30. void init_tank_image(p_TANK t, int tm);
  31. void initmap(int t);
  32. void RandRectMap(int x1, int y1, int x2, int y2, int b);
  33. void hMapLine(int y, int x1, int x2, int b);
  34. void vMapLine(int x, int y1, int y2, int b);
  35. void RectMap(int x1, int y1, int x2, int y2, int b);
  36. void caller_main(void);
  37. void follow_tank(p_TANK t);
  38. void v_startup_playfield(int t);
  39.  
  40.  
  41. extern void gotocga(void);
  42. extern void inittables(void);
  43. extern void regenscr(void);
  44. extern void refreshscr(void);
  45. extern void capturescr(void);
  46. extern void setlogXY(int x, int y);
  47. extern void setphyXY(int x, int y);
  48. extern void setwindXY(int x, int y);
  49. extern void setmapXY(int x, int y, int b);
  50. extern int  getmapXY(int x, int y);
  51.